package com.neusoft.hifly.gateway.utils;

/**
 * 请求类型
 */
public enum TokenMethod {

	ALL("ALL"),

	GET("GET"),

	POST("POST"),

	PUT("PUT"),

	DELETE("DELETE"),

	PATCH("PATCH");

	private String method;

	TokenMethod(final String method) {
		this.method = method;
	}

	@Override
	public String toString() {
		return this.method;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(final String method) {
		this.method = method;
	}
}
